#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>
int main()
{
	double a = 0;
	double b = 0;
	double c = 0;
	while (scanf("%lf %lf %lf", &a, &b, &c) != EOF)
	{
		double p = b * b - 4 * a * c;
		if (a == 0)
		{
			printf("Not\n");
		}
		else
		{
			if (p == 0)
			{
				if (b == 0)
					printf("x1=x1=0\n");
				else
					printf("x1=x2=%.2lf\n", (-b) / (2 * a));
			}
			else if (p > 0)
				printf("x1=%.2lf,x2=%.2lf\n", ((-b) - sqrt(p)) / (2 * a), ((-b) + sqrt(p)) / (2 * a));
			else
			{
				double real = (-b) / (2 * a);
				double imag = sqrt(-p) / (2 * a);
				if (imag < 0)
				{
					imag = -imag;
				}
				printf("x1=%.2lf-%.2lfi;x2=%.2lf+%.2lfi", real, imag, real, imag);
			}
		}
	}
	return 0;
}